PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.fonts.truetype Package / PDFUnicodeTrueTypeFont Class / PDFUnicodeTrueTypeFont Constructor / PDFUnicodeTrueTypeFont Constructor(String,int,double,boolean)
Path to TrueType font collection file.
TrueType font index in the collection.
Font size.
If true, the font will be embedded in the PDF file.
In This Topic
    PDFUnicodeTrueTypeFont Constructor(String,int,double,boolean)
    In This Topic
    Initializes a new Object.
    Syntax
    public PDFUnicodeTrueTypeFont( 
       java.lang.String path,
       int index,
       double size,
       boolean embed
    )

    Parameters

    path
    Path to TrueType font collection file.
    index
    TrueType font index in the collection.
    size
    Font size.
    embed
    If true, the font will be embedded in the PDF file.
    See Also